package com.hanamaki.struct;

public class SwitchDemo03 {

    public static void main(String[] args) {

        String name = "hanamaki";

        System.out.println(name.hashCode());

        switch (name) {
            case "hanamaki":
                System.out.println("正确");
                break;
            default:
                System.out.println("NO");
        }

    }
}
